How can I detect what types of media a CD/DVD drive supports?
You can make a Status call to the driver with csCode = kdgGetCDDeviceInfo to retrieve information about a CD/DVD drive, including supported media types. If successful, csParam[0:2] contain a CDDeviceCharacteristics structure. The CDDeviceCharacteristics structure has been extended to include flags for supported media.
The extended CDDeviceCharacteristics structure is described fully in the file DriverGestalt.h in Universal Interfaces 3.4.
[Feb 21 2001]
|